package com.treehouse.pornstar;

import java.net.URL;
import java.util.LinkedList;

import com.treehouse.scene.Scene;

public class Pornstar {

	private int id;
	private String name = "";
	private String description = "";
	private double rating = 0.00;
	private URL home = null;
	private LinkedList<Scene> scenes = new LinkedList<Scene>();

	public URL getHome() {
		return home;
	}

	public void setHome(URL home) {
		this.home = home;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getRating() {
		return rating;
	}

	public void setRating(double rating) {
		this.rating = rating;
	}

	public void addScene(Scene scene) {
		this.scenes.add(scene);
	}

	public LinkedList<Scene> getScenes() {
		return scenes;
	}

	public void setScenes(LinkedList<Scene> scenes) {
		this.scenes = scenes;
	}

	public String toString() {
		return this.name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
